<!DOCTYPE html>
<html lang="zh">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="ie=edge">
	<title></title>
</head>
<body>
	<button type="button" onclick="get()">获取</button>
	<script type="text/javascript">
		function get(){
			let info = window.localStorage.getItem('user')
			console.log(JSON.stringify(info))
		}
	</script>
</body>
</html>